/**
 * @file key.h
 * @author morris (a_morris@163.com)
 * @brief
 * @version 0.1
 * @date 2022-03-10
 *
 * @copyright Copyright (c) 2022
 *
 */
#ifndef __BSP_KEY_H__
#define __BSP_KEY_H__

#include "bk8400.h"

#define SW1_STATE_PRESS FALSE

/**
 * @brief
 *
 */
void key_init(void);

/**
 * @brief Get key status
 *
 * @return int
 */
int sw1_get_state(void);

#endif /* __BSP_KEY_H__ */
